00001 <?php 00002 /*--------------------------------------------------------------------------+ 00003 This file is part of eStudy. 00004 messaging/messaging.inc.php 00005 - Modulgruppe: Messaging 00006 - Beschreibung: Uebersicht der Messaging-Funktionen und Statistik ueber 00007 Nachrichten im Posteingang und gesendete Nachrichten. 00008 - Version: 0.1, 09/09/04 00009 - Autor(en): Waldemar Krampetz <waldemar.krampetz@mni.fh-giessen.de>, 00010 Dennis Bayer <dennis.bayer@mni.fh-giessen.de><bayer.d@gmx.de> 00011 +---------------------------------------------------------------------------+ 00012 This program is free software; you can redistribute it and/or 00013 modify it under the terms of the GNU General Public License 00014 as published by the Free Software Foundation; either version 2 00015 of the License, or any later version. 00016 +---------------------------------------------------------------------------+ 00017 This program is distributed in the hope that it will be useful, 00018 but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 GNU General Public License for more details. 00021 You should have received a copy of the GNU General Public License 00022 along with this program; if not, write to the Free Software 00023 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 +--------------------------------------------------------------------------*/ 00035 define("PATH_TO_ROOT", "../"); 00037 require_once (PATH_TO_ROOT."messaging/classes/class.messaging.inc.php"); 00038 /* CSS einbinden */ 00039 Messaging::includeMessagingCSSFile(); 00040 /* globale Defines setzten */ 00041 Messaging::setGlobalVariables(); 00042 00044 require_once (PATH_TO_ROOT."common/init.inc.php"); 00046 require_once (PATH_TO_ROOT."common/header.inc.php"); 00048 require_once (PATH_TO_ROOT."messaging/classes/class.messaging_overview.inc.php"); 00050 require_once (PATH_TO_ROOT."messaging/classes/class.buddylist.inc.php"); 00051 00052 ?> 00053 <div class="messaging_mainbox"> 00054 <?php 00055 $messaging = new Messaging($_SESSION["userid"]); 00056 $messaging_overview = new MessagingOverview($messaging); 00057 $messaging_overview->echoMessageOverview(); 00058 ?> 00059 </div> 00060 <div> 00061 <?php 00062 $buddylist = new Buddylist($_SESSION["userid"]); 00063 $buddylist->echoBuddylist(); 00064 ?> 00065 </div> 00066 <?php 00068 require_once (PATH_TO_ROOT."common/footer.inc.php"); 00069 ?>
1.6.1